Comparative biodiversity along a gradient of agricultural landscapes