Supersymmetric gauge theories, quantization of moduli spaces of flat connections, and conformal field theory