Thermodynamics for chemists