Inner shell excitation spectroscopy of molecules using inelastic electron scattering