Optical oscillator strengths for valence-shell and Br-3d inner-shell excitations of HCl and HBr.