US Commerce chief leaves China on upbeat note