Atmospheric temperature responses to solar irradiance and geomagnetic activity