Vibrations of a rail coupled to a foundation beam through a series of discrete elastic supports