Measurement of the centrality dependence of the charged-particle pseudorapidity distribution in proton–lead collisions at √s<inf>NN</inf> = 5.02 TeV with the ATLAS detector