China and the United States have agreed to remove most of the tariffs on each other's goods following high-level talks in Geneva.