Measurement of differential cross sections for the production of a pair of isolated photons in pp collisions at $\sqrts=7\,\text TeV $