Regime shifts, resilience, and biodiversity in ecosystem management