US and China sign trade agreement