Green-function theory of light scattering from plasmons in a superlattice with electron-gas layers