Early warning signals of regime shifts in coupled human–environment systems