Ab initio investigation of the thermochemistry, spectroscopy and dynamics of reactions between mercury and reactive halogen species