Dolphins sleep with one eye open, and with half their brain wide awake, researchers have found.