Nucleation of misfit dislocations and plastic deformation in core/shell nanowires