ODIN: ODE-Informed Regression for Parameter and State Inference in Time-Continuous Dynamical Systems