Entropy, Divergence, and Majorization in Classical and Quantum Thermodynamics