Preparation and corrosion resistance of magnesium phytic acid/hydroxyapatite composite coatings on biodegradable AZ31 magnesium alloy