Quantitative Forecasting of Major Solar Flares