Growth of Tribological Films: In Situ Characterization Based on Attenuated Total Reflection Infrared Spectroscopy