R and D, Foreign Technology and Technical Efficiency in Developing Countries