Ecological Thresholds and Regime Shifts in Coastal Areas