Octahedral Co(II) and Ni(II) complexes of Schiff bases, semicarbazone and thiosemicarbazone, synthesis, biological, spectral, and thermal studies