A Strategy for the Prediction of the Response of Hysteretic Systems: A Base for Capacity Assessment of Buildings under Seismic Load