how does inflation affect real estate investments