Multinuclear Solid-State NMR Studies on the Formation Mechanism of Aluminophosphate Molecular Sieves in Ionic Liquids