Sol–gel processing of hydroxyapatite