Dollar gains, euro dips after cautious ECB