Spectroscopy of Comet Hale–Bopp in the infrared