Production of charged pions, kaons and protons at large transverse momenta in pp and Pb–Pb collisions at √sNN = 2.76 TeV