Measurement of the differential cross section for top quark pair production in pp collisions at √s = 8 TeV