Investing in deflation, inflation, and stagflation regimes