The Energy Ledger — enthalpy, entropy, and free energy