A continuum model for initiation and evolution of deformation twinning