how did european imperialism in india differ from european imperialism in china during the 18th and 19th centurys