Porous materials for carbon dioxide capture