Man’s best friend linked to brain health