What were the major factors that contributed to the Industrial Revolution and urbanization in the late 19th and early 20th centuries?