Measurement of the transverse momentum spectra of weak vector bosons produced in proton-proton collisions at √s=8 TeV