Diversity as a tool to face environmental variation: Two case-studies on the Moroccan sandy shores