W and Z boson production in p-Pb collisions at √sNN=5.02 TeV