The synthesis, characterisation and ion exchange of mixed metal phosphates