The bond yield curve has inverted 12 times since 1950, and equity investors should be wary.