McDonald’s—believing it can succeed where Starbucks stumbled—is doing mobile ordering