Measurement of charged-particle spectra in Pb+Pb collisions at (Formula presented.) = 2.76 TeV with the ATLAS detector at the LHC