Patch structure, dynamics and implications for the functioning of arid ecosystems