Research and Development, Profits and Firm Value: A Structural Estimation