Adaptation to metals in widespread and endemic plants.