Scientists finally found a genetic basis for your dog’s devotion