US stock markets closed day at record highs