US dollar tops major currencies in first half, rates gap widens