A new electro-mechanical method for measuring yarn thickness