Formation of deformation twins in f.c.c. crystals