Negative Imaginary Neural ODEs: Learning to Control Mechanical Systems with Stability Guarantees