Solar forcing of the terrestrial atmosphere