How did literature originate in ancient China