Enhanced photostability in protonated covalent organic frameworks for singlet oxygen generation