Novel photoelectrochromic cells containing a polyaniline layer and a dye-sensitized nanocrystalline TiO2 photovoltaic cell