A course in statistical thermodynamics