Research and development, tax incentives, and the structure of production and financing