Peculiarities of electronic structure and chemical bonding in iron and cobalt metal complexes of porphyrazine and tetra(1,2,5-thiadiazole)porphyrazine