Study of molecular clouds in the vicinity of supernova remnants as sources of very-high-energy gamma-ray emission