inflation impact on investment