china before and after imperialism