Measurement of the cross section for top-quark pair production in pp collisions at $\sqrt {s} = {7}\,{\text{TeV}}$ with the ATLAS detector using final states with two high-p T leptons