Slug formation, growth and decay in gas-liquid flows