A mechanochemically synthesized covalent organic framework as a proton-conducting solid electrolyte