Trajectory tracking of autonomous vessels using model predictive control