Design and applications of three dimensional covalent organic frameworks.