Electrochemical reduction of ZnBr2 in the presence of organic halides