Environmentally sustainable processes for the synthesis of hydroxyapatite