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