Quantum Algorithms for Training Gaussian Processes