Orbit determination with the two-body integrals