Chemical equilibria in mixtures of bromine and chlorine