An integrated chemical sensor with multiple ion and gas sensors