Chemically synthesized Ti-doped SnS2 thin films as intermediate band gap material for solar cell application