The ultra-violet spectra of HF and DF