Single-cell generalized trend model (scGTM): a flexible and interpretable model of gene expression trend along cell pseudotime