Variational inference for latent variables and uncertain inputs in Gaussian processes.