Shrubland ecosystem dynamics in a changing environment