How the iPhone built the mobile ad market, even as the rest of the economy tanked