Topochemical assembly of covalent materials using dihydrogen bonding