Kinetics of Ring Formation in Polymerization Reactions