Resonant Raman scattering from CdS nanowires