High resolution Fourier transform spectrometry in emission and absorption in the visible and UV ranges