1,3-dipolar cycloaddition reactions of N-methyl-substituted tricyclic imides