I Bonds and TIPS both offer inflation protection, but they do it differently. Here's a side-by-side comparison.