Optimization of the selectivity for the electrocarboxylation of chloroacetonitrile to cyanoacetic acid