A theoretical and experimental investigation of the mechanisms of the hydrogen-fluoride pulsed chemical laser