Hydroxyapatite/palmitic acid superhydrophobic composite coating on AZ31 magnesium alloy with both corrosion resistance and bacterial inhibition