Tool condition monitoring framework for predictive maintenance: a case study on milling process