Macromolecular compounds obtained by reactions only involving carbon-to-carbon unsaturated bonds used as thickening agents