Sol-gel-derived hydroxyapatite powders and coatings