A FORTRAN library for the integration of ordinary differential equations with direct and adjoint sensitivity analysis capabilities