The UK's Office of Fair Trading is to investigate the legal tie between pub companies and their tenants, following a complaint from the Campaign for Real Ale (CAMRA).