Empires, Diasporas and the Emergence of Religions