Thermal analysis and alloy phase diagrams