Analyzing the transient response of MOX gas sensors to improve the lifetime of distributed sensing systems