Determining the relationship between adverse events and their associated risk factors in the transfer of patients from intensive care units