The cooperative provision of ecosystem services in agriculture