Optimal-transport analysis of single-cell gene expression identifies developmental trajectories in reprogramming