Anodic oxidation pathways of phenolic compounds