Bayesian temporal biclustering with applications to multi-subject neuroscience studies