Ion displacement following the adsorption of anionic macromolecules on hydroxyapatite