A Bayesian analysis of the change-point problem for directional data