Bayesian uncertainty quantification of computer models with efficient calibration and computation