Electron-scattering studies of correlations in nuclei