Pore space partition and charge separation in cage-within-cage indium-organic frameworks with high CO2 uptake.