Real-time tool wear monitoring using thin-film thermocouple