Development of a tool wear-monitoring system for hard turning