Resonances in total cross sections for electron scattering on molecules