Seismic Analysis of Reinforced Concrete Frames with a Scalar Damage Model