Classification of organic compounds by infrared spectroscopy with pattern recognition and information theory