Experimental and theoretical study of the acylation reaction of aminopyrazoles with aryl and methoxymethyl substituents