how does inflation affect the economy