A First Course in the Mathematical Foundations of Thermodynamics (Undergraduate Texts in Mathematics)