Electron capture reactions in mixtures of hydrochloric acid and hydrobromic acid