Investigation of the Martian environment by infrared spectroscopy on Mariner 9