Observation of top-quark pair production in association with a photon and measurement of the tt¯γ production cross section in pp collisions at √s = 7 TeV using the ATLAS detector