From Watt to Clausius. The Rise of Thermodynamics in the Early Industrial Age