Enhancement of Raman scattering from molecules placed near metal nanoparticles