First measurement of the cross section for top-quark pair production in proton–proton collisions at sqrt(s)=7TeV