Gas storage and CO2 sequestration in organic and hybrid nanoporous materials