Profit-driven and demand-driven investment growth and fluctuations in different accumulation regimes