Grazing management effects on environmental quality of riparian and upland grassland ecosystems