Magnetic and electrochemical characteristics of carbon-modified magnetic nanoparticles