Cournot competition among multiproduct firms: specialization through licensing