Design and analysis of multilayer waveguides containing nanoparticles for solar cells