US stocks close day at record highs