Complex magnetic properties in the mixed 4f−5d double perovskite iridates X2ZnIrO6 (X = Nd, Sm, Eu, Gd)