A displacement-based adaptive pushover for seismic assessment of steel and reinforced concrete buildings