Charged-particle multiplicities in proton–proton collisions at √s=0.9 to 8 TeV