Nucleation of dislocations and twins in fcc nanocrystals: Dynamics of structural transformations