Polymerisation products of compounds having carbon-to-carbon unsaturated bonds and having isocyanate or isothiocyanate groups or groups forming isocyanate or isothiocyanate groups