How does Earth's distance from the sun affect the planet's suitability for life?