Transition-metal ions in aluminophosphate and silicoaluminophosphate molecular sieves: location, interaction with adsorbates and catalytic properties.