Characterization of impurity doping and stress in Si/Ge and Ge/Si core-shell nanowires.