Signatures of natural selection in a foundation tree along Mediterranean climatic gradients