Patient safety, resident well-being and continuity of care with different resident duty schedules in the intensive care unit: a randomized trial