Material Modeling of Gray Cast Iron Based on Damage Mechanics and Its Applications to Fatigue Life Prediction