E-beam synthesized fast-switching TiO2/SnO2 type-II heterostructure photodetector