Theta functions on moduli spaces of $G$-bundles