The α β phase transition in quartz and AlPO4 as studied by electron microscopy and diffraction