What caused the population explosion from 1780 to 1830?