An assessment of a sedative algorithm for sleep in an intensive care unit.