Behavior of single-walled carbon nanotube-based gas sensor at various conditions of operation