US stocks end higher in 1st session of new year