Template synthesis, spectroscopic studies and biological activities of macrocyclic complexes derived from thiocarbohydrazide and glyoxal