Structure studies of unstable nuclei by electron scattering