Survival Analysis via Ordinary Differential Equations