Bayesian approach to Gaussian process regression with uncertain inputs