Bonds are still an important component of portfolio diversification, but it’s now crucial for investors to get the right mix of credit and maturities.