Inferring cell trajectories of spatial transcriptomics via optimal transport analysis