Effect of pulse current mode on microstructure, composition and corrosion performance of the coatings produced by plasma electrolytic oxidation on AZ31 Mg alloy