NASA confirms discovery of Earth-like planet