On the geometry of interest rate models