Invertible Solution of Neural Differential Equations for Analysis of Irregularly-Sampled Time Series