Nucleation of structural defects in materials with a perfect crystal lattice by thermal fluctuations under dynamic loading