Search for resonances in the dilepton mass distribution in pp collisions at √s = 7TeV