Cat protects dog friend