Analysis of thermal effects in infrared and interference microscopy: n-Butane-5A and methanol–ferrierite systems