many dynasties can existed in ancient china