In a triangle \( ABC \) with usual notations, if \[ \tan \left( \frac{B-C}{2} \right) = x \cot \left( \frac{A}{2} \right), \] then \( x = \, ? \)