Localized photothermal infrared spectroscopy using a proximal probe