The function of the aesthetic in religious experience : a comparison, medieval and modern