Robust mid-infrared photothermal imaging system for characterization of thin films at high spatial resolution