Electrochemical cells: Galvanic and electrolytic cells