Dog attachment to man: a comparison between pet and working dogs