JET divertor geometry and plasma shape effects on the L H transition threshold