Computer-aided cooling curve thermal analysis and microstructural characterization of Mg–Gd–Y–Zr system alloys