Pets could boost well-being as much as a wife or husband, study suggests