The architecture of dinuclear Ni and Cu complexes: twisted and parallel forms controlled by the self-assembly of Schiff base ligands