How did religious policies differ between Mughals in India and Safavids in Persia during their respective expansions?