Task-oriented distributed data fusion in autonomous wireless sensor networks