Temperature-averaged cross sections and rate constants for dissociative electron attachment to HBr and HCl