What are the key similarities and differences between the Ottoman and Safavid Empires?

What are the key similarities and differences between the Ottoman and Safavid Empires?