A heat kernel approach to interest rate models