Functionalized nanomaterials: a new avenue for mitigating environmental problems