Frequency characterization of a swept- and fixed-wavelength external-cavity quantum cascade laser by use of a frequency comb.