Dow, S&P 500 edge to records after US-China trade deal signed