Measurements of W and Z boson production in pp collisions at √s=5.02 TeV with the ATLAS detector