Agent-based simulation of the spatial evolution of the historical population in China