Three-Dimensional Ionic Covalent Organic Frameworks for Rapid, Reversible, and Selective Ion Exchange.