S&P 500, Nasdaq slip on weak earnings forecasts, inflation data focus