U.S. stocks set for second week of gains