The misexaptation of the human prediction capability and the emergence of intolerant religious beliefs