Real-time FTIR spectroscopy as a quantitative kinetic probe of competing electrooxidation pathways of small organic molecules