Combustible Gases and Early Fire Detection: an Autonomous System for Wireless Sensor Networks