Reconstructed covalent organic frameworks