A continuous time approach to the pricing of bonds