A realized volatility approach to option pricing with continuous and jump variance components