Global Stabilization Effect of Shafranov Shift on the Edge Pedestal Plasmas in JET and JT-60U