Thin films of SnO2 as solid state gas sensors