Electrosynthesis of chromatographic stationary phases