Electrical and optical properties of spin-coated SnO2 nanofilms