Waveform-controlled electrolysis enables the carbon-carbon coupling of carboxylic acids