Spin-orbital coupling and magnetic properties of Ir-based double perovskites with different 5d (n = 3, 4, 5) states