A mechanistic study of Lewis acid-catalyzed covalent organic framework formation | Synapse