Centrality dependence of the nuclear modification factor of charged pions, kaons, and protons in Pb-Pb collisions at root s(NN)=2.76 TeV