Energy-efficient Information Collection and Dissemination in Wireless Sensor Networks.