How to redesign jobs in a hybrid human-and-machine environment