Study of ϒ $$\varUpsilon$$ production and cold nuclear matter effects in pPb collisions at s NN $$\sqrt{s_{NN}}$$ = 5 TeV