Optical modeling-assisted characterization of dye-sensitized solar cells using TiO2 nanotube arrays as photoanodes