An approach for joint scheduling of production and predictive maintenance activities