U.S. indices diverge as Dow hits record