Synthesis, spectroscopic characterization and biological activity on newly synthesized copper(II) and nickel(II) complexes incorporating bidentate oxygen–nitrogen hydrazone ligands