A Bayesian inference transcription factor activity model for the analysis of single-cell transcriptomes