Ionic liquid-modified porous materials for gas separation and heterogeneous catalysis