Ligand effects on the bonding mode of the cyanate ion in complexes of copper(II) and nickel(II)