Dow ends above 35,000 for first time as US stocks hit records