What were the effects of Han inventions on ancient China?