What Do Nominal Rigidities and Monetary Policy Tell Us about the Real Yield Curve?