Preparation of silver nanoparticle loaded cotton threads to facilitate measurement development for textile applications