A Bayesian sparse factor model with adaptive posterior concentration