law of tremodynamics