Differential cross section measurements for the production of a W boson in association with jets in proton–proton collisions at s=7 TeV