Stellar occultations enable milliarcsecond astrometry for Trans-Neptunian objects and Centaurs