Prediction of human activity patterns for human-robot collaborative assembly tasks