what is the difference between galvanic and electrolytic cells