Using a direct-current arc furnace to recover cobalt from slags