Stability of offshore risers conveying fluid