Thermodynamics and kinetics of phase transformation in rare earth–magnesium alloys: A critical review