From Watt to Clausius;: The rise of thermodynamics in the early industrial age