Hydrogen forming reactions of thermal electrons in hydrogen halides: kinetics and thermodynamics