Ecosystems, externalities, and economies