An effective harmonic potential for aluminophosphate molecular sieves : application to AlPO4-5