Fluoride and carbonate incorporation into hydroxyapatite under condition of cyclic pH variation