Hydrazines having nitrogen atoms of hydrazine groups being quaternised