What are the limitations of the first law of thermodynamics?