Tunable UV spectrometer for Doppler broadening thermometry of mercury