Electrocarboxylation of 1,4-dibromobut-2-ene in a CO2-DMF liquid mixture