National polity and local power: the transformation of late imperial China