Characterization of the transformation from calcium-deficient apatite to β-tricalcium phosphate