A Distributed and Adaptive Signal Processing Approach to Reducing Energy Consumption in Sensor Networks