Popeyes parent posts higher 2Q profit