Longer time to transfer from the emergency department after bed request is associated with worse outcomes