S&P 500, Dow rise after mixed bank earnings; tech-heavy Nasdaq falls