Sleep in animals: a state of adaptive inactivity