Synthesis and magnetic properties of Fe3C–C core–shell nanoparticles