Electron scattering from baryon resonances in nuclei