A photo-assisted rechargeable battery: synergy, compatibility, and stability of a TiO2/dye/Cu2S bifunctional composite electrode.