Energy-Efficient Data Mining Techniques for Emergency Detection in Wireless Sensor Networks