Electrophoretic deposition of TiO2 coatings for use in all-plastic flexible dye-sensitized solar cells