High-Resolution Infrared Emission Spectra of HCl and HF