Climate Physics Chapter 2: Thermodynamics