Religion, Ideology, and Prosociality: Simulating Secular Societies