EU's Mogherini to visit Tehran, Riyadh for Syria talks