Binuclear cobalt(II) and nickel(II) complexes of dihydrazinophthalazine and dipyridylpyridazine: the dependence of superexchange on electronic configuration