What changes took place in the 16th and 17th centuries that led to the Industrial Revolution in the 18th and 19th centuries