Detection and determination of ellagitannins