Effect of sintering parameters on the mechanical properties and corrosion resistance of Mg-Nd and Mg-Y alloys prepared by spark plasma sintering.