Application of thin-film materials in solid state gas sensors