Synthesis of hydroxyapatite coatings for biomedical and catalytic applications