Asymptotically optimal Bayes compound and empirical Bayes estimators in exponential families with compact parameter space