Bayesian inference for the variance components in general mixed linear models