Fabrication and characterization of carbon-based counter electrodes prepared by electrophoretic deposition for dye-sensitized solar cells