Search for extra dimensions in diphoton events from proton?proton collisions at $\sqrt {s} = 7\,$ TeV in the ATLAS detector at the LHC