Tunable lasers to improve infrared spectroscopy