Charged pion, kaon and (anti)proton production in pp and Pb-Pb collisions at sqrt(s)=2.76 TeV