Model Predictive Control for Flexible Joint Robots