Context-adaptive multimodal wireless sensor network for energy-efficient gas monitoring