Combination of experimental and computational chemistry in the synthesis of new azahetrocycles