S&P 500, Nasdaq dip as oil prices fan inflation fears