Investment, R&D and liquidity constraints