US stocks close higher, post largest weekly gain since November 2020