Wall Street gains as inflation data supports Fed bets