Studies of Zn|ZnX2|polyaniline batteries. I. X.=Cl and Br