Spectroscopic studies of zeolites and mesoporous materials