Railways and Population Distribution: France, Spain, and Portugal, 1870–2000