Ecological Sustainability in Agricultural Systems: Definition and Measurement