Transverse momentum dependence of inclusive primary charged-particle production in p–Pb collisions at √sNN=5.02 TeV