Design of optical reflectance signals for wear control by varying the thickness of thin films of Ti-compounds