Geometric quantization of Chern-Simons gauge theory