Constraints on cosmic strings from the ligo-virgo gravitational-wave detectors