Distributed Variational Inference in Sparse Gaussian Process Regression and Latent Variable Models