Double-layer porous TiO2 electrodes for solid-state dye-sensitized solar cells