Entry and technology transfer in a Cournot model