Behavioral functions of the reticular formation