Regime shifts occur disproportionately faster in larger ecosystems