How resilient stocks are to rising yields