Use of caproic and cyclohexanecarboxylic acids for determining benzoic and sorbic acids