Bayesian canonical correlation analysis and group factor