Constraints on the structure and dynamics of the β-cristobalite polymorphs of SiO2 and AlPO4 from 31P, 27Al and 29Si NMR spectroscopy to 770 K