Advanced Thermal Analysis Methods for Comprehensive Materials Characterization: Principles and Applications of DSC and DMA Techniques