Composite magnesium phosphate coatings for improved corrosion resistance of magnesium AZ31 alloy