Fabrication, bio-corrosion behavior and mechanical properties of a Mg/HA/MgO nanocomposite for biomedical applications