Role of water environment in chemical degradation of a covalent organic framework tethered with quaternary ammonium for anion exchange membranes