how inflation affects wealth