MPC-based path planning for ship collision avoidance under COLREGS