Ecological and historical determinants of population genetic structure and diversity in the Mediterranean shrub Rosmarinus officinalis (Lamiaceae)