Continuous synthesis of carbon-encapsulated magnetic nanoparticles with a minimum production of amorphous carbon