Incentivizing cooperation in sensor and control networks