how were the causes of the enlightenment similar to the causes of the industrial revolution