Electrosynthesis of ketones from organic halides and anhydrides