Dynamics and thresholds of ecosystem services in wooded landscapes.