Electrochemically-induced Favorskii rearrangement