Effects of Mg on microstructure and corrosion properties of Zn–Mg alloy