Deposition of polyaniline in TiO2 mesoporous films and its use as sensitizer for photocatalytic water splitting