Localized relaxations in the glassy states of several molecular materials before and after their polymerization