Enhanced performance in gas adsorption and Li ion batteries by docking Li(+) in a crown ether-based metal-organic framework.