Stationary Kernels and Gaussian Processes on Lie Groups and their Homogeneous Spaces I: the compact case