Bayesian latent factor regression for functional and longitudinal data.