Dynamics and sustainability of social-ecological systems in the Loess Plateau