Did religion play a role in the success of Roman Empire and Abbasid Caliphate?