Dollar gains before Fed meeting, inflation data