What it's like to ride the most legendary railways around the world—from the Scottish Highlands to the Peruvian Andes.