Quantitative analysis of ellagic acid in hardwood samples