Energy-Optimal Data Aggregation and Dissemination for the Internet of Things | Synapse