Aspects of three-dimensional gravity and two-dimensional conformal field theory