Bayesian multi-study factor model