Motor Sequence Learning Involves Better Prediction of the Next Action and Optimization of Movement Trajectories