An NMR Study of CO2 Dynamics and Structural Characterization of Porous Materials