Structural analysis and seismic upgrading of reinforced concrete beams with vertical cracks