how is a hair sample taken