A new role for surfactants in the formation of cobalt nanoparticles