Stocks rise along with optimism over US-China trade talks