Effects of Cooling Rate and Component on the Microstructure and Mechanical Properties of Mg–Zn–Y Alloys