Biomimetic synthesis of sub-20 nm covalent organic frameworks in water