One- and two-nucleon knockout in electron scattering