Education and society in late imperial China, 1600-1900