Mechanisms for the modification of nylon 6,12 by gamma irradiation