who invented the steam engine railroad?