Magnetic exchange in oxalate- and squarate-bridged nickel(II) dimer complexes