One-step synthesis of copper nanoparticles embedded in carbon composites