Prediction of the Remaining Useful Life of a Two-Degree-of-Freedom Robot Based on a Digital Twin Model