Determination of formamide