THz-comb-assisted molecular spectroscopy