Production of charged pions, kaons and protons at large transverse momenta in pp and Pb-Pb collisions at root s(NN)=2.76 TeV