The Influence of Charge Transport and Recombination on the Performance of Dye-Sensitized Solar Cells