Modulation of electrical and optical properties of doping controlled SnO2 thin-film double layers