Impact of timing of cardiac arrest during hospitalization on survival outcomes and subsequent length of stay.