Measurement of the differential cross section for isolated prompt photon production in pp collisions at 7 TeV