Multifunctional carbon nanotube sensors for environmental monitoring