Nonparametric Bayesian modelling of longitudinally integrated covariance functions on the sphere