On general Bayesian inference using loss functions