Wall Street benchmarks S&P 500 and Nasdaq finish at all-time highs as strong earnings expectations boost risk appetite.