Preparation and characterization of carbon-supported polyaniline-palladium composite electrodes