Wideband, high-resolution terahertz spectroscopy by light-induced frequency tuning of quantum-cascade lasers.