US stocks close higher