Energy-oriented joint optimization of machine maintenance and tool replacement in sustainable manufacturing. (April 2021)