Analysis of electron recombination in dye-sensitized solar cell