Ostapenko stuns Halep to win French Open