Transition from belief in gods to search for natural causes