A study has revealed that cosying up to a dog at night is good for your physical and mental health, but sharing a bed with an indifferent cat has no benefits at all.