Reactions with heterocyclic amidines: synthesis of several new pyrazolo[1,5-a]pyrimidines and pyrazolo[1,5-C]-as-triazines