Infrared photometry and spectroscopy of comet P/Encke 1987