Catalytic dehydration of methanol to dimethyl ether over aluminophosphate and silico-aluminophosphate molecular sieves