Discovery and study of planetary systems using astrometry from space