what is impact of inflation on investment?