Pseudorapidity dependence of the anisotropic flow of charged particles in Pb–Pb collisions at sNN=2.76 TeV