How inflation affects your investments