Study of ellagic acid electro-oxidation mechanism