Dollar gains ahead of inflation data, euro falls after ECB