Complex optical potential model for electron–molecule scattering, elastic scattering, and rotational excitation of H2 at 10–100 eV