US stocks close higher amid data