Spectroscopic diagnostics of pulsed discharge in high-pressure rare gas mixtures