Endogenous Money and the Structure of Interest Rates