Anisotropic flow from AGS to LHC energies