Modeling charge recombination in dye-sensitized solar cells using first-principles electron dynamics: effects of structural modification.