How stocks in the past have reacted to different rates of inflation