Dow, S&P lower on mixed earnings; Nasdaq rises