Electrodeposition of Hydroxyapatite Coating on Magnesium Alloy for Biomaterial Application