Phosphate-dependent morphological evolution of hydroxyapatite and implication for biomineralisation