Nonlinear seismic analysis of reinforced concrete frames