who came up with the idea of the transcontinental railroad