Electrical conduction in solid-state gas sensors