Current Density versus Potential Characteristics of Dye-Sensitized Nanostructured Semiconductor Photoelectrodes. 2. Simulations