Thermally activated adsorption in metal-organic frameworks with a temperature-tunable diffusion barrier layer.