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