Structural changes of thermally sprayed hydroxyapatite investigated by Rietveld analysis.