Search for dilepton resonances in pp collisions at √s = 7 TeV with the ATLAS detector