Synthesis, mechanism and kinetics of radical polymerization of bismaleimide-type telechelic oligomers in solvent and in the solid state