1-Acyl-3-hydroxy-1H-pyrazoles and related derivatives as useful acylating agents