Search for high-mass dilepton resonances in pp collisions at root s = 8 TeV with the ATLAS detector