Green synthesis of a magnetite/graphitic carbon nitride 2D nanocomposite for efficient Hg2+ remediation