Ion exchanges in apatites. Effects on composition and properties