Synthetic and physicochemical studies of divalent metal complexes with cyclic hydrazone and semicarbazone ligands