Morphological evolution and compositional segregation effects in core-shell nanowires