Factors affecting do-not-attempt-resuscitation (DNAR) decisions among adult patients in the emergency department of a general tertiary teaching hospital in China: a retrospective observational study