Trajectory Tracking and Path Following for Underactuated Marine Vehicles