Evaluation of multiple beam interference effects in infrared gas spectroscopy