2H-Pyrazol-3-ylamines as precursors for the synthesis of polyfunctionally substituted pyrazolo[1,5-a]pyrimidines