Hydrazines having nitrogen atoms of hydrazine groups acylated by carboxylic acids