Around a fifth of people who had experienced the death of an animal and a person said losing a pet was worse, according to a new study