On the welfare effects of competition for foreign direct investments