Cooper Flagg tows Mavericks past Grizzlies for 2-0 NBA Cup start