Cathodic reduction of acids in dimethylformamide on platinum