Measurement of the differential cross sections for the associated production of a W boson and jets in proton-proton collisions at sqrt(s) = 13 TeV