Optical description of solid-state dye-sensitized solar cells. II. Device optical modeling with implications for improving efficiency