Joint condition-based maintenance and production of manufacturing systems under flexible decision timing using deep reinforcement learning