Effects of Mg content on microstructure and electrochemical properties of Zn–Al–Mg alloys