Batch and flow-injection determination of ethylenediamine in pharmaceutical preparations