Temperature dependence of the rate constants for the H+Br2 and D+Br2 reactions