Determination of the torsional anchoring of a twisted nematic liquid crystal using the half-leaky guided mode technique