What was the role of religion in the Mesopotamian society?