Dielectron production in proton-proton collisions at √s=7 TeV