The crystal chemistry of olivine-type phosphates