How did the completion of the Transcontinental Railroad contribute to the settlement of the West?