Bayesian Variance Components Methods In Nonparametric Regression And Generalizability Theory