Magnesium ferrite-nitrogen–doped graphene oxide nanocomposite: effective adsorptive removal of lead(II) and arsenic(III)