Spectral super-resolution spectroscopy using a random laser