Energy-Efficient Distributed Filtering in Sensor Networks: A Unified Switched System Approach