Critical flow velocities of a simply supported pipeline on an elastic foundation