Growth of metal nanoparticles in hydrocarbon atmosphere of arc discharge