R&D policy in a vertically related industry