Thiol-functionalized magnetic porous organic polymers for highly-efficient removal of mercury