Social phases of education in China