Sulfur-containing nitrogen-rich robust hierarchically porous organic polymer for adsorptive removal of mercury: experimental and theoretical insights