Carbonization of covalent triazine-based frameworks via ionic liquid induction