A Bayesian approach for identifying similar transcript dynamics using curve registration