how does the earth’s surface get heated by the sun’s radiation?