Inelastic electron scattering from the giant resonance in 12C