Semi-empirical approach for the analysis of infrared photothermal microscopy