How did Buddhism, Christianity, and Islam interact with, provide justification for, and conflict with various states and empires in Afro-Eurasia?