Management and Optimal Use of Soil and Water Resources in Ecohydrological Systems