In-situ observation of tribological processes by attenuated Total Reflectance measurements