What did the great awakening and the enlightenment have in common?