What period, beginning in the late 18th century, dramatically changed the way goods were manufactured and led to urbanization?