Crop Yield Prediction by Stress Day Indices under Both Excessive and Deficient Soil Water Conditions