Heterogeneous and homogeneous electron transfers to aromatic halides. An electrochemical redox catalysis study in the halobenzene and halopyridine series