Impact of tetrahedral and square planar geometry of Ni(II) complexes with (pseudo)halide ligands to magnetic properties