Deposition of copper and nickel from dilute solutions in packed bed electrolytic cells