State the second law of thermodynamics.