Halep and Mertens win to reach Qatar Open final