Nuclear effects on the transverse momentum spectra of charged particles in pPb collisions at sqrt(s_NN) = 5.02 TeV