Welfare effects of outsourcing in duopolistic markets