Martingale Approach to the Pricing of Real Options