Multinuclear Solid-State NMR Investigation of Structure, Dynamics, and Formation of Porous Materials