Moduli varieties of real and quaternionic bundles over a curve