Which technological development in the 18th century led to an increase in production and trade, particularly in Europe and North America?