Study of viscous oil-water-gas slug flow in a horizontal pipe