Lipid-assisted synthesis of magnesium-loaded hydroxyapatite as a potential bone healing material