Centrality dependence of the pseudorapidity density distribution for charged particles in Pb-Pb collisions at sNN=5.02 TeV