Multiple glacial refugia and contemporary dispersal shape the genetic structure of an endemic amphibian from the Pyrenees.