US stocks close higher, led by big tech