Synthesis and characterization of cobalt(II) and nickel(II) complexes of tridentate Schiff bases