Antimicrobial and antitumor activity of N-heteroimmine-1,2,3-dithiazoles and their transformation in triazolo-, imidazo-, and pyrazolopirimidines.