Synthesis, crystal structure, and characterization of two Cu(II) and Ni(II) complexes of a tetradentate N2O2 Schiff base ligand and their application in fabrication of a hydrazine electrochemical sensor