US stock market closes higher after positive data