Measurement of the \( \mathrm{t}\overline{\mathrm{t}} \) production cross section in the eμ channel in proton-proton collisions at \( \sqrt{s}=7 \) and 8 TeV