Momentum distributions and ionization potentials for the valence orbitals of hydrogen fluoride and hydrogen chloride