Phase Transformations in Porous Materials Studied by In Situ Solid-State NMR Spectroscopy and In Situ X-ray Diffraction