Politics and industrialization in late imperial China