Quantitative determination of ellagic acid