Cosmic evolution from phase transition of three-dimensional flat space.