Optimization of R&D Investment under Technology Spillovers: A Model and a Case Study (Sony Corporation)