Optical and electrical properties of SnOx thin films made by reactive r.f. magnetron sputtering