Regime shifts: can ecological theory illuminate the mechanisms?