A Metric-Correlation-Based Distributed Fault Detection Approach in Wireless Sensor Networks