Measurement of the differential Drell-Yan cross section in proton-proton collisions at sqrt(s) = 13 TeV