Reunification of China under the Sui and Tang dynasties, influence of Confucianism on how government officials were selected, Mongol rule (the Yuan Dynasty)