Fire Detection using Wireless Sensor Networks: an approach based on statistical data modeling