Beading instability in soft cylindrical gels with capillary energy: Weakly non-linear analysis and numerical simulations