Application of interferometry to optical astrometry