A frozen-flow approximation to the evolution of large-scale structures in the Universe