Aluminophosphates containing other elements