Investigation of the stability of solid-state dye-sensitized solar cells