The long-time evolution of three-dimensional Ricci flow