Cognitive strategies for reducing energy consumption in wireless sensor networks