BoundMPC: Cartesian Trajectory Planning with Error Bounds based on Model Predictive Control in the Joint Space