The Evolution of Gods: The Scientific Origin of Divinity and Religions