Orbit determination of trans-Neptunian objects and Centaurs for the prediction of stellar occultations