Confinement of Ionic Liquids in Nanocages: Tailoring the Molecular Sieving Properties of ZIF-8 for Membrane-Based CO2 Capture.