A Bayesian method for clustering gene expression temporal profiles from microarray data