Hierarchical magnetic nitrogen-doped porous carbon derived from a covalent organic framework (COF) for the highly efficient removal of sulfamerazine