Electrochemical preparation and characterization of conducting copolymers: poly(pyrrole-co-indole)