Characterization of semiconductor core–shell nanoparticles by resonant Raman scattering and photoluminescence spectroscopy