Synthesis and characterization of macrocyclic and polymeric Schiff base complexes derived from related macrocyclic ligands in the presence of Ni(II) and Cu(II)