Measurement. Thermodynamics and temperature