New orbital constraints for YSES 1 b and HR 2562 B from high-precision astrometry and planetary radial velocities