A spatially explicit framework for the economic and ecological analysis of biodiversity convervation in agro-ecosystems