Frequency modulation spectroscopy by means of quantum-cascade lasers