Balancing surface area with electron recombination in nanowire-based dye-sensitized solar cells