From luxe sleeper trains to short sightseeing rides, some of the world's best ocean views are through a train window.