Being Religious: Cognitive and Evolutionary Theories in Historical Perspective