ooxidation in alkaline and acidic media: a combined spectroelectrochemical and computational study†