Magnetoelastic properties of terbium‐dysprosium‐iron compounds