Means for preventing rotation of screw-threaded elements