Anisotropic flow from RHIC to the LHC