Multiple changepoint detection for periodic autoregressive models with an application to river flow analysis