Thermodynamic effects in the compression of solids.