C-N Coupling of Azoles or Imides with Carbocations Generated by Electrochemical Oxidation