Gating effect for gas adsorption in microporous materials-mechanisms and applications.