Microstructure characterization and corrosion behaviour of a nano-hydroxyapatite coating deposited on AZ31 magnesium alloy using radio frequency magnetron sputtering