title of military officer in ancient China