1,3-Dipolar cycloadditions in the synthesis of annelated diazines: design of new scaffolds for anticancer and antimicrobial agents