Optimal Route Planning for Sailing Boats: A Hybrid Formulation