Introduction to the Thermodynamics of Materials