High-spectral-resolution terahertz imaging with a quantum-cascade laser.