Surface-enhanced Raman effect in hybrid metal–semiconductor nanoparticle assemblies