Search for heavy narrow dilepton resonances in pp collisions at root s=7 TeV and root s=8 TeV