Spectroscopic, structural and magnetic studies of nickel(II) complexes with tetra- and pentadentate ligands