Bayesian prediction and inference in analysis of computer experiments