Processing of hydroxyapatite ceramic foams