Synthesis of mesoporous materials for carbon dioxide sequestration