Thermodynamics of Crystalline States