Thermodynamics and Climate