In-house R&D, outsourcing or alliances? Some strategic and economic considerations