Measurement of the elliptic anisotropy of charged particles produced in PbPb collisions at sqrt[s_{NN}]=2.76 TeV