Solid phase extraction of magnetic carbon doped Fe3O4 nanoparticles.