Dow Jones, S&P 500 open at record highs with strong earnings