Measurement of differential cross sections for the production of a pair of isolated photons in pp collisions at s=7TeV