The Gouy-Stodola Theorem—From Irreversibility to Sustainability — The Thermodynamic Human Development Index