Can batteries be used as a power source for electrolysis