Anodic oxidation pathways of aromatic hydrocarbons and amines