Carnot theorem (thermodynamics)