Dollar weakens after Trump nomination; euro rebounds