Sub-Doppler resolution in the THz frequency domain: 1 kHz accuracy at 1 THz by exploiting the Lamb-dip technique.